const program = require("commander")
const helpOptions = () => {
  //增加自己的options
  program.option('-z --zyw', 'a zyw cli')
  program.option('-d --dest <dest>', 'a destination folder,例如:-d /src/components')
  program.option('-f --framework <framework>', 'your framework')
  
  //获取指令参数
  // console.log(program.opts().dest);

  program.on("--help", function () {
    console.log("other");
  })

}

module.exports = helpOptions;